package com.example.chatchatbackend.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.chatchatbackend.entity.dto.Notice;
import com.example.chatchatbackend.entity.dto.Shopping;
import com.example.chatchatbackend.entity.vo.request.NoticeVO;


import java.util.List;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 丁真
 * @since 2024-10-28 05:03:47
 */
public interface NoticeService extends IService<Notice> {

    List<NoticeVO> getAllNotice();

    IPage<Notice> pageThree(Integer pageNum, Integer pageSize) ;

    NoticeVO insertNotice(NoticeVO noticeVO);

    List<NoticeVO> insertNoticeList(List<NoticeVO> noticeVOList);

    NoticeVO updateNotice(NoticeVO noticeVO);

    void deleteByIds(List<Integer> ids);

    List<NoticeVO> findByTitle(String title);
}
